package com.yngrp.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.jeecgframework.poi.excel.annotation.Excel;

/**
 *  @Description: 集团信息
 *  @author  SLH
 *  @date  20160809
 */
@Entity
@Table(name = "yl_group_info")
public class GroupInfo implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 主键 **/
	private Integer id;
	
	/**集团名称**/
	private String groupName;
	
	/**集团地址**/
	private String groupAddress;
	
	/**联系人**/
	private String contactMan;
	
	/**联系电话**/
	private String contactPhone;
	
	/**联系人邮箱**/
	private String contactEmail;
	
	/**电费查询方式编码**/
	private String queryMode;
	
	/**电费查询方式描述**/
	private String queryModeDesc;
	
	/**电费查询日期**/
	private int queryDate;	
	
	/**启用状态编码**/
	private String state;
	
	/**启用状态描述**/
	private String stateDesc;
	
	/**激活状态编码**/
	private String activeState;
	
	/**激活状态描述**/
	private String activeStateDesc;
	
	/** 创建人ID **/
	private String createBy;
	
	/** 创建人姓名 **/
	private String createRealname;
	
	/** 创建部门ID **/
	private String createDepartmentid;
	
	/** 创建部门名称 **/
	private String createDepartmentname;
	
	/** 创建时间 **/
	private Date createDatetime;
	
	@Id
	@GeneratedValue (strategy = GenerationType.IDENTITY) 
	@Column(name ="ID",nullable=false,length=10)
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name ="group_name")
	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@Column(name ="group_address")
	public String getGroupAddress() {
		return groupAddress;
	}

	public void setGroupAddress(String groupAddress) {
		this.groupAddress = groupAddress;
	}

	@Column(name ="contact_man")
	public String getContactMan() {
		return contactMan;
	}

	public void setContactMan(String contactMan) {
		this.contactMan = contactMan;
	}

	@Column(name ="contact_phone")
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}
	
	@Column(name ="contact_email")
	public String getContactEmail() {
		return contactEmail;
	}

	public void setContactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}

	@Column(name ="querymode")
	public String getQueryMode() {
		return queryMode;
	}

	public void setQueryMode(String queryMode) {
		this.queryMode = queryMode;
	}

	@Column(name ="querymode_desc")
	public String getQueryModeDesc() {
		return queryModeDesc;
	}

	public void setQueryModeDesc(String queryModeDesc) {
		this.queryModeDesc = queryModeDesc;
	}

	@Column(name ="query_date")
	public int getQueryDate() {
		return queryDate;
	}

	public void setQueryDate(int queryDate) {
		this.queryDate = queryDate;
	}
	
	@Column(name ="state")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	

	@Column(name ="state_desc")
	public String getStateDesc() {
		return stateDesc;
	}

	public void setStateDesc(String stateDesc) {
		this.stateDesc = stateDesc;
	}

	@Column(name ="active_state")
	public String getActiveState() {
		return activeState;
	}

	public void setActiveState(String activeState) {
		this.activeState = activeState;
	}

	@Column(name ="active_state_desc")
	public String getActiveStateDesc() {
		return activeStateDesc;
	}

	public void setActiveStateDesc(String activeStateDesc) {
		this.activeStateDesc = activeStateDesc;
	}

	
	

	@Column(name ="create_by")
	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	@Column(name ="create_realname")
	public String getCreateRealname() {
		return createRealname;
	}

	public void setCreateRealname(String createRealname) {
		this.createRealname = createRealname;
	}
	
	@Column(name ="create_departmentid")
	public String getCreateDepartmentid() {
		return createDepartmentid;
	}

	public void setCreateDepartmentid(String createDepartmentid) {
		this.createDepartmentid = createDepartmentid;
	}

	@Column(name ="create_departmentname")
	public String getCreateDepartmentname() {
		return createDepartmentname;
	}

	public void setCreateDepartmentname(String createDepartmentname) {
		this.createDepartmentname = createDepartmentname;
	}

	@Column(name ="create_datetime")
	public Date getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(Date createDatetime) {
		this.createDatetime = createDatetime;
	}
	
}
